SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 67539: SAS® might display an error when you attempt to delete a Google BigQuery view

DetailsHotfixAboutRate It

The DATASETS and DELETE procedures might fail to delete a Google BigQuery view, and an error that is similar to the following appears:

ERROR: CLI execute error: Error: googleapi: Error 400: Cannot drop gcp-project:data-set.view-name which has type VIEW. A table was expected., invalid

The only workaround is to use an explicit SQL query. Here is an example:

proc sql ;
   connect to bigquery (connection-options) ;
   execute by dbms (drop view view-name) ;
quit ;

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to Google BigQueryLinux for x649.49.439.4 TS1M69.4 TS1M8
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.